package com.smart.entity;

import lombok.Data;
import java.util.Date;
import java.io.Serializable;
import cn.hutool.core.date.DatePattern;
import io.swagger.annotations.ApiModelProperty;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.baomidou.mybatisplus.annotation.TableName;

/**
 * @author lgb
 * @date 2020年6月9日 下午4:50:02
 * Copyright (C) 深圳工勘科技
 * @说明: 设备巡检记录
 **/
@Data
@TableName("sys_inspection_record")
public class SysInspectionRecord implements Serializable{

	/** 创建时间 */
	public static final String PROP_CREATETIME = "create_time";
	public static final String PROP_CAR_NO = "car_no";
	public static final String PROP_CAR_TYPE = "car_type";

	private static final long serialVersionUID = 3899970840464002933L;
	@TableId
	private Long id;
	@ApiModelProperty(value="当前用户")
	private Long userId;
	@ApiModelProperty(value="巡检设备编号")
	private String carNo;
	@ApiModelProperty(value="巡检设备类型")
	private String carType;
	@ApiModelProperty(value="巡检项目")
	private String insPro;
	@ApiModelProperty(value="巡检内容")
	private String insContent;
	@ApiModelProperty(value="巡检结果：0->不正常；1->正常")
	private Integer insResoult;
	@ApiModelProperty(value="上传图片")
	private String imgs;
	@ApiModelProperty(value="巡查日期")
	private String insDate;
	@ApiModelProperty(value="备注")
	private String remark;
	@ApiModelProperty(value="创建时间")
	@JsonFormat(pattern=DatePattern.NORM_DATETIME_PATTERN,timezone="GMT+8")
	private Date createTime;
	@ApiModelProperty(value="修改时间")
	@JsonFormat(pattern=DatePattern.NORM_DATETIME_PATTERN,timezone="GMT+8")
	private Date modifyTime;

}